xen: arm: Ensure HCR_EL2.RW is set correctly when building dom0
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Oct 2013 14:43:45 +0000 (15:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Oct 2013 13:25:11 +0000 (14:25 +0100)
commitb3cbe129d07ac9a41175491fdd3c882641588350
treeef0328c6debb15a5c2b83ebe5663a8ec93f6cbbf
parent80a7e7eaa177af948b1f4cc954bf2d39ee182724
xen: arm: Ensure HCR_EL2.RW is set correctly when building dom0

copy_to_user and friends rely on this, since the address transalation
functions (guest VA -> MFN) will truncate VA to the appropriate size.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/domain_build.c